<?php

namespace Jhub1_Common\Entity;

use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Annotations\AnnotationReader;
use Doctrine\Common\Annotations\AnnotationRegistry;

/**
 * @ORM\Entity
 * @ORM\Table(name="ofID")
 */
class ofId
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer", name="idType", nullable=false);
     * @var integer
     */
    private $idType;

    /**
     * @ORM\Column(type="integer", name="id", nullable=false)
     * @var integer
     */
    private $id;

    public function getIdType()
    {
        return $this->idType;
    }

    public function setIdType($val)
    {
        $this->idType = $val;
    }

    public function getId()
    {
        return $this->id;
    }

    public function setId($val)
    {
        $this->id = $val;
    }

}

/*
CREATE TABLE ofID
(
    idType INT PRIMARY KEY NOT NULL,
    id BIGINT NOT NULL
);*/